export default [
  // 获取用户信息
  {
    url: '/api/admin/user/info',
    method: 'get',
    response: () => {
      return {
        code: 0,
        data: {
          permissions: [
            'sys_syspublicparam_add',
            'sys_user_del',
            'sys_dept_del',
            'sys_menu_add',
            'sys_role_add',
            'sys_post_view',
            'sys_user_edit',
            'sys_dept_edit',
            'sys_menu_del',
            'sys_menu_edit',
            'common_list',
            'sys_role_edit',
            'sys_role_perm',
            'sys_post_del',
            'sys_user_add',
            'sys_dept_add',
            'sys_post_add',
            'sys_post_edit',
            'sys_role_del',
            'sys_dept_list',
            'sys_syspublicparam_del',
            'sys_syspublicparam_edit',
          ],
          roleFlags: ['ROLE_ADMIN'],
          roles: ['1'],
          sysUser: {
            avatar: '20240608/636da20ca5e84c9a93c06dc5c8573f83.jpg',
            createBy: ' ',
            createTime: '2018-04-20 07:15:18',
            delFlag: '0',
            deptId: '4',
            email: 'jdd4cloud@qq.com',
            giteeLogin: null,
            lockFlag: '1',
            miniOpenid: null,
            name: '宋工',
            nickname: '超级管理员',
            oscId: null,
            password: 'e10adc3949ba59abbe56e057f20f883e',
            phone: '17682488261',
            qqOpenid: null,
            salt: '',
            updateBy: 'admin',
            updateTime: '2024-06-18 07:50:55',
            userId: '1',
            username: 'admin',
            wxOpenid: null,
          },
        },
        msg: '成功',
      }
    },
  },
]
